#ifndef COMMON_GRAPHICS_DEVICE_H
#define COMMON_GRAPHICS_DEVICE_H


#include <stdlib.h>


struct Device;


enum DeviceCreationFlags
{
	kCreateDepthBuffer = (1 << 0),
};

bool CreateDevice(const char* title, size_t width, size_t height, size_t flags, size_t multisampleCount);
void DestroyDevice();
void SwapBuffers();


#endif
